replace chars that might break pdf file names; so slashes, fullstop & hashes