convert bytesref into strings in format function

Conflicts:
	CHANGES.txt