Fix template filenames

Do not lower class name since filenames contains raw class name