[jekyll] Fixes script so it works with utf-8 characters in files