Fixes issue #47.

Fixed Chrome crash by using a object URL created from a Blob. Refactored to not encode the data (no longer necessary).
Merge pull request #1 from bbarney/chrome-crash

Fixes issue #47.