Save databases every hour; plugins' save() is called
PyPy-compatible open(), fixes databases