fix preinstall_alert and preuninstall_alert unicode support

This fixes the issue reported by Jason Hatman in this thread https://groups.google.com/forum/#!topic/munki-dev/lUgDD6wgKb8