remove newline in appid.txt.  open pdf on OSX.
Merge pull request #1 from marcoscoffier/master

two small changes for MAC OSX compatibility