FilmSaver: use byte buffer to construct bmp headers