Not for this PR, but this should probably be an argument of WriteToFile or ParquetRelation or something.