Call FileBackedOutputStream.reset on InputStream.close

This ensures that we delete temporary files created by Wire logging.
Merge pull request #1422 from maginatics/filebackedoutputstream-reset

Call FileBackedOutputStream.reset on InputStream.close