fixed encoding error when checking for ghostscript version