Modify nqp::cwd on parrot to be consistent with jvm, moar.
Add nqp::writefh on parrot backend.