add null check for EnumWriteProtocol
throw ParquetEncodingException
Merge pull request #203 from Parquet/check_null_for_enum_write_protocol

add null check for EnumWriteProtocol