Initialize file to be empty, now write to temporary .part files.