Avoid error if target directory does not exist