Fixes the problem Björn encountered in !974 (merged)
In the long-term, we should use the more advanced version from https://git.xfel.eu/dataAnalysis/exdf-tools.
@ahmedk @bjoerns