Objective C version of python's common path name maniputation (os.path)