Fix: Return value of write, writefast