fix some unicode problems
handle filenames containing - and fix a typo
hard-code the path for static resources