Handle codec not found

1. when codec can not be found, use uncompressed codec
2. remove duplicated getCodec logic in DeprecatedParquetOutputFormat