Improved TestManager.compare_files().

Better handles the case where one or both files do not exist.