fixup getDsl to throw only IOExceptions