setLocaleEncoding is added to run hakyll on windows