Implement exporting as Blob, closes #22