Writes Val to a buffer. If Path is not specified, the current buffer will be used. Otherwise, the buffer at the ...