changing temp file hook so it deletes folders from bottom up to fix errors on windows
fixing copy browsers task on Windows