slurp stdin properly