def pathOf(dir, base, ext, delim='.'):
    p = os.path
    return p.normpath(p.join(dir,"%s%s%s" % (base, delim, ext)))
return the normalized path name of file created with
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/fileutils.py/pathOf