Correct the filename stored for applications

If the path had 'pa' in it, then the path would be included in the file
name.
Merge branch 'master' of https://github.com/CSSIP-AIR/PatentsProcessor