Move ResourceNamer to loci.formats.