Changing current working folder as a promise + a stack of folders to jump back.