Added support for ATF media files to resource index.
Fixed a bug in resource index dumping where the file type of a resource
was always set based on the last indexed resource file loader class
which isn't correct.