Use new moveFile method

As with mutex, UNIX implementation untested, might not even compile.