Docs: 'os.pwrite()' needs bytes, not strings