Make chdir slightly less naive. Write tests before elaborating.
Fix chdir and open. Use nqp::readfh and nqp::writefh