FIX: Writing EDF files