Improve Scram runtime wrapper: allow to use an arbitrary file (even stdo...

...ut)

The main motivation for doing this is that right now we are unable to get the output of the command we are invoking. The only way to get it with popen.communicate is tu use stdout=PIPE (which you could pass as logname argument)