When deploying a file, should create a temp file (.xdtemp) in the target location first