Adding console implementations of chdir/pwd