Improve Scram runtime wrapper: allow to use an arbitrary file (even stdout)