'Returns the absolute path for current dir, also join the
current path with the given, if so.'

@classmethod
def current_dir(cls, path=''):

    to_return = cls.abspath(curdir)
    if path:
        return cls.join(to_return, path)
    return to_return
