Fixes after introduction of Python 3 support
This MR fixes a few issues in !875 (merged)
- better handling of unicodes in GaudiTesting
- fixed
produce_consume
test stability across versions of Python (incidentally improving readability of the changes introduced in !951 (merged)) - fix caching of ccache output for Python 3 based build
Edited by Marco Clemencic