use File.writable? instead of FileUtils.touch.
fix log.
add todo.