issue #1251 make exporttospreadsheet write base-64 blobs + tests