check if pig is loaded when writing pig metadata
format
Merge pull request #235 from Parquet/not_write_pig_meta_data_only_when_pig_is_not_avaliable

Not write pig meta data only when pig is not avaliable