- Fixed restore current directory behavior.