get rid of 'opened' in path_openat() and the helpers downstream