Handle trying to export to the same dasherized name.

This commit also handles:
 - Replacing pattern "App." across the entire file.
 - Replacing pattern "Em." across the entire file.