- Changed to low-level IO using os.open() interface. I discovered after running tracing the system calls on several test scripts that write() would default to 8KB blocks regardless of defined block size. Using os.write() guarantees that the defined block size is passed to the write system call.