added automatic maintenace functions for SQLite journals