Explicitly ignore return value from write(), to silence warning. This warning only appeared under --disable-thread-safety.