Move some routines into ws_version_info.c.