Windows: add AFSRetrieveParentPath()