Suppressing warning 'Wide character in print at foobar/local/lib/perl5/Ksgk.pm line 372.'

Xslate opens input file with encoding ':utf8' by default. So rendered string can be flagged string.
You should provide option to specify output layer. And should just use File::Copy for static assets.

Regards.
kawamuray