Ensure the target path exists on moving or copying