hop_tasks: unify code for windows-specific dart SDK exes