Ensure that font family is unicode

Previously examples such as fonts_demo.py would fail using the OSX backend in python 2 

This happens because set_family is called from the example with a non unicode string. So this changes the handling to ensure that the family name is converted to unicode.