Delayed writes

Pull request for delayed-writes feature: https://bugs.freenetproject.org/view.php?id=5471

voxsim