FW size is 4MB, internal TOTAL size is 4MB. Theres no space.
So downloaded FW update file is stored in external storage SD/NAND and then update is performed.
If message is failed to write - it means error happens during transmission and FW is not able to write certain chunks into SD. Might be bad sectors or bad sd card in general.
I suggest changing SD card.
Theres nothing to do from FW size, so ...
Regards