Removed extra whitespaces from create_formatted_mime