implement hook for unlinkat (only works if AT_CWD is given)