move tmp target to target instead of writing to destination