return result of unlink for rmdir operation