allow writing predictions to /dev/stdout and /dev/stderr on Unix systems (requested by GitHub user jkleint)