Fixed the docs for file.truncate so it actually reflects what it does.
Merge pull request #12146 from slai/develop

Fixed the docs for file.truncate so it actually reflects what it does