added file-io tests

These need to be fudged to work on nqp@jvm, since it has no chdir yet.