docs: use `await` in filehandle.truncate() snippet
The example snippet of filehandle.close() uses the await
keyword
based on convention. This change updates the example snippet of
filehandle.truncate() to similarly use the keyword for the purposes of
consistency.