Pass file size function directly to parsers

This is instead of adding the function to
the underlying stream object. Extending the
stream object seems to cause a weird bug in
node 0.8 with multiple tests reading from
the same file.