EDF+ produces meaningful error if file is empty