Tileset editor: Handle export errors more gracefully