Replace $ENV{HOME} with File::HomeDir [win32]