Replace material name colons with underscores. Fixes #1615