Some error handling for unlinking on windows.