Change target name to something that does not conflict with dir name.