Work better with HP-UX's dd (fixes bug #36)