stdin
stdin (with tempfile), remote, stdout support
add stdin support without tempfile