Fix crash when opening a Realm file in the browser

Closes #1060.
Bump version to 0.87.1