changing unsigned flags to regular ints
the storage library does not understand unsigned at the moment, and using the highest order bit causes trouble
new version of datafile