Convert pre-0.9 databases