make {f,}putstr and {f,}getline use UTF-8, add {f,}readbytes and {f,}putbytes
use hPutStr instead of UTF8.hPutStr
change filenames to start with an uppercase
set stdin/stdout to binary mode; remove UTF8 decoding