Decorate identifiers to handle cache/list of files
This PR introduces a new decorator for astropy.io.registry.register_identifier
to unwrap a list
or glue.lal.Cache
of files (normally handed to a Class.read()
method) to pull out a filepath for one of the contained files.
This should make writing readers and identifiers a little cleaner.