fix PEP 8
encode write command to ascii
set CRLF
remove wrong commit
Merge remote-tracking branch 'origin/master'