Call async callback when file is written, and improve logging output.
1.0.7