Export raw data as dat files