PDFBOX-1689: added mapping for windows, null-checks, bugfix for the mapping and a bugfix for the psname encoding

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1597330 13f79535-47bb-0310-9956-ffa450edef68