Fix destination directories.