K 10 svn:author V 4 ngie K 8 svn:date V 27 2019-05-21T02:02:09.196474Z K 7 svn:log V 422 Fix remaining encoding issues with python 3 * Cast all unicode strings to bytes arrays before passing them through to `fcntl.ioctl`, as the string width of unicode strings is different and not downcast to bytes when passed to `fcntl.ioctl`. * Use `array.array(..).tobytes()` instead of `array.array(..).tostring()` in python 3.2+, per the deprecation warning printed out by python 3.6 when the code is evaluated. END