Set file permissions for accounts file
Set file permissions for preferences file
Set file permissions for logs
Merge branch 'master' into xep-0223