Base64 encoding added

to export search results as CSV