There's no need to fork to write to a file.