Make pathnames consistent in watch task.