Layout names must be unicode with only ascii chars.

Fix this in the export-layout function.