Indeed! I just moved it to `compat`, and I'll make sure it's closed in that implementation. Technically it does get closed when the function finishes and the file pointer gets garbage collected, but yeah, better to do this explicitly.