Handle both gz and ungzip concrete protobuf file input