FERM-37 Fixing path creation for db file