add unlink and rmdir wrappers around unlinkat