Use MIME::Types in DataUrlFile