Fixed HttpServer so that it closes files after it has served them up.
Fixed int test on windows.