Fix bug when exporting displayables as shareable directory.