re-unix-fy multithreaded.py script

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>