Fix syntax error: default to "wrote N bytes"; writing a single byte is an unusual case, not the normal one.