[4.2] Fix str_snake way of working

Old method converts 'ABCool' to 'a-bcool', after repair will be converted to 'a-b-cool'