typo.
Allow passing an array of u8's.

Path filenames are returned as an array of u8. Allow the modified
template to accept that array instead of a String.
Cleanup the main method.

Make use of the new try_or_err macro.