some path expand util, there is however also an os.path.pathexpand