Fix existing directory overwrite