Fixed docs for write() args. Closes #31