Converting export menu options to use FileSaver library for exporting files.