Fix file handle leak in the error path
Merge remote-tracking branch 'Duckbox-Developers/master'