Recreate keystore on any IOException.

- Fixes issues when setting up trakt and keystore is corrupted.
Merge branch 'beta' into skip-episodes