Prevent trying to use mv on the same file