use open instead of sysopen. buggy in perl-5.8 and *bsd?