Mock out call to os.path.exists.