Open FileStream as Read, not ReadWrite, for Deserialize
Decrypt after failed write so config still valid
Merge pull request #1 from webcoyote/fix-permission-errors

Fix failures caused by read-only configuration files