FIX: test failure under windows caused by temp files handling