Fix non-ascii cifs path traceback in CIFS config file generation

Ticket:	#6154