Fix unicode decode error with pdf icon path.