'Change current dir to `path`, adding it to a stack. Can be
undone by calling FileSystem.popd()'

@classmethod
def pushd(cls, *path):

    path = cls.join(*path)
    if (not len(cls.stack)):
        cls.stack.append(cls.current_dir())
    cls.stack.append(path)
    os.chdir(path)
