[bugfix][CmakeBuilder] Remove ResourceWarning: unclosed file during jit.
@andreas.dedner: This came up when using export PYTHONDEVMODE=1
and it should be fixed. Files are opened and not closed.
@andreas.dedner: This came up when using export PYTHONDEVMODE=1
and it should be fixed. Files are opened and not closed.