Fix a crash in plFileSecure

This will fix the crash reported by @Mystler