revert wrapping open() in closing().