--- ./lib/ExtUtils/t/Command.t-ini	Thu Nov 10 09:17:54 2005
+++ ./lib/ExtUtils/t/Command.t	Wed Dec 13 14:16:00 2006
@@ -257,6 +257,7 @@ BEGIN {
 {
     { local @ARGV = 'd2utest'; mkpath; }
     open(FILE, '>d2utest/foo');
+    binmode(FILE);
     print FILE "stuff\015\012and thing\015\012";
     close FILE;
 
