Fixed Parsing Exception on large files.

The byte array may not always be large enough to hold the entire file.
Passing the stream directly solves the issue.