Critical bugfix: we cannot generate strings with store paths in them and expect them to be part of the runtime closure. Using a file approach also works and fixes the problem