MogileImage#mime_type_for breaks when symbol is given as a format