path lib isn't support in python2.6 so using my old path class instead