Fixed a bug with exporting through dropbox.