Fixing uninitialized mime_type variable. #291