Fixed bug with watcher dump file corruption