More care in writing source.properties tmp file.