version 2.1.10 * file_write locks the actual file instead of the temp file