FIX tempfile name in windows

 in windows, tempfile would be like this:
	'r:\\temp\\tmphngayy.png'
 so, the original loc string will not works
    loc = '/tmp/' + tf.name.split('/')[-1]
 because of the '/' in path name and '/tmp/' are NOT exist