Fixed error handling in fileutils move().