Yes, i saw it and fread_blocks too, but there was a comment for fwrite saying " This function doesn't work anymore in higher versions then amxmodx 1.5", that made me think the whole "fwrite/read function family" was not working. My bad.
So (to sum up): fread/fwrite fread_blocks/fwrite_blocks are acceptable?