replace comma with dot before capitalization

I don't want gems for this, thanks! :)