A buffer-backed file writer for Go