Fix minor CPP issue when using ghci.
Force utf8 encoding for loading resources in the hope of fixing issue #55.