if you open the file for a mode of writing and you move the file pointer, it will overwrite any data that is "in the way." if you wish to insert contents into the middle of the file and have the rest move down, you will need to make your own sort of function to read the contents of the file and write your data to the middle of it.
it could be something along these lines:
$file = file_get_contents("filename.dat");
$part1 = substr($file, 0, 490);
$part2 = "what you want to insert...";
$part3 = substr($file, 491);
$fp = fopen("filename.dat", "w+");
fwrite($fp, $part1 . $part2 . $part3);
fclose($fp);
that should essentially do just what you want. work on making it a function where you can specify the filename, and the insert point and you should be good to go.