fix return code handling for a uv_fs_readdir call in virgo_versions.c