[doc] misleading IO.write offset description
"If offset is not given, the file is truncated. Otherwise, it is not truncated."
The above is NOT true when 'a' mode is used. I'd suggest to clarify in documentation that offset is usually 0 if not specified but in 'a' mode it is at end of file or something along these lines.