Major refactoring of old #post_file_to_wistia function.a