Encoder decoder for RIFF (Resource Interchange File Format) files based on the wikipedia format explanation (http://en.wikipedia.org/wiki/Resource_Interchange_File_Format)