Open files with utf-8 encoding

This fixes issues in python 3 for reading tools and snippets
files when gedit is run in an environment with a non utf-8
locale

https://bugzilla.gnome.org/show_bug.cgi?id=722948