rimuc: allow --prepend option to work when input is from stdin.