Clean up WAL files during reset

WAL mode (enabled by default on iOS7) creates a -wal -shm file that should be removed during a reset or failed migration.