moved call to file.content_type out of create_and_save_generic_file to elimiate coupling with Rack::Multipart::Upload