Write peakdata to raw peakdata