Add target directory in checkwrite messages