Avoid writing empty exp_raw file