remove superfluous call to os.IsNotExist