Transforming SimpleRefsetMap files for legacy ids