moving extensions to the proper media type