new class for replace invalid chars in properties files.