make perl6-literate script work

With a modern Rakudo.

- add -Ilib to find the module
- use a MAIN sub
- wrap the file handling in a given
- &shell, not &run