Fix hiding temporary files on windows

tmpFileName is a relative path, and we need an absolute path to
pass to the function that hides the files