Fixed the problem cfg properties to convert between DB and File, keeping
original type(int, String).