Files are raw binary data, but a (BTW unreliable) method to understand what they contain has been in use since years: file extensions.
I can see no reason why in a filesystem-like representation of the Registry you cannot have a value.dwd (which is a DWORD), a value.bin (which is a BINary), value.esz, etc., or at least that is what I would use.