Fix: Pass TemporaryFileManager to module constructors