fix readdlm regression. fixes #6376