remove tmp file for eups_versions checking and use EupsVersions class