use stream.Readable to get large files from stdin

The previous method was truncating files larger than
65535 bytes when piped in through stdin.

See: http://nodejs.org/api/stream.html#stream_class_stream_readable