Added helper for retrieving mime types.
Implemented File to Faraday::UploadIO translation.