Code cleanup.
Convert from ctypes.uint to int on write return.
Remove an unused parameter when calling read_with_blocking.
Temporarily disable reading with a timeout on Linux.