Fix the case where a partial-dir file exists but the destination