Guarantee that db, shm and wal files are deleted together.

If media provider failed to open the database during an upgrade,
it deletes the database file and tries again.
But when deleing the file, it doesn't delete wal and shm files.
This commit is to guarantee that
all related files (db, wal, shm) are deleted together.

Signed-off-by: jangwon.lee <jangwon.lee@lge.com>

Change-Id: I7b4e3cf71d0b285399794ee9b45791c6a112a00c