PyTorch Python fork fix part 2 - store script file in environment for robustness against restart after fork