Update README with new write to file argument. Correct PHPDoc