Correcting412 download of ontologies does not work

This branch fixes #412 and fixes an encoding problem when showing contents of a file that has non-utf8 special characters.