finished 'write buffers' task.

also, paths are now relative to cwd instead of absolute.