Here a fix for the wrong echoing of files, when using different shells (cmd, powershell, bash) in combination with Active-HDL (windows) simulator.