hai provato con fopen ("file","rwb"); ?!?!