RaspiVid: Fix file splitting code.

File splitting code was failing to write the first set of
header bytes to all except the first file due to a bug
introduced by the circular buffer handling.
See http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=76172