Now all error paths of _freeze_importlib use 'goto error' and the error label cleans up all used resources.