ENH: added a boolean argument to the write function to allow for the rae data to be stored in a .raw file format