Make temporary file in the same partition.