fix crash in plFileSecure
Merge pull request #311 from ChristopherS/plFileSecure

Fix a crash in plFileSecure