Hi Erica,
OK time to get back the actual issue. However you added the assemblies doesn't matter, if it work then great...
There appears to be an issue in SP 12 with Export to Stream which was recently discovered and confirmed by R&D.
SP 13 should have the fix...
Don