Fix file opening due to my own stupid mistake!. Fixes #1909.