Temp files fixed for windows
Merge branch 'tempfix'

Conflicts:
	src/config.c
Tempfile location memory allocation fix