adding log.file option to hmr to allow piping stderr and stdout