Define db_dir in sliceable_switch configurations

It allows users to place sqlite3 databases to another location easier.