Suppress warning about uncheck write() return value