[#124] fixed possible bug during store migration

the data store might also include a -journal file apart from the main
file, or (on 10.9+) -shm and -wal files, we need to remember about those
moved database-related stuff out of app delegate