htmlgen.py: create name of output files in os independent manner

works now on Windows