Exclamation [SOLVED] fastboot: "FAILED (remote: Write Fail)"

I've never experienced the fastboot error below and I am not sure about how to proceed.

The error is on the third to last line.

I am attempting to flash the Google factory image: yakju-jwr66y-factory-09207065
to my maguro.

Code:
sending 'bootloader' (2308 KB)...
OKAY [  0.224s]
writing 'bootloader'...
OKAY [  0.290s]
finished. total time: 0.518s
rebooting into bootloader...
OKAY [  0.009s]
finished. total time: 0.010s
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: PRIMEMD04
Baseband Version.....: I9250XXLJ1
Serial Number........: 0149BD310A01D011
--------------------------------------------
checking product...
OKAY [  0.008s]
sending 'boot' (4376 KB)...
OKAY [  0.416s]
writing 'boot'...
OKAY [  0.526s]
sending 'recovery' (4924 KB)...
OKAY [  0.468s]
writing 'recovery'...
OKAY [  0.600s]
erasing 'system'...
OKAY [  0.018s]
sending 'system' (479248 KB)...
OKAY [ 44.424s]
writing 'system'...
FAILED (remote: Write Fail)
finished. total time: 46.532s
Press any key to exit...
Edit:
I locked and then unlocked the bootloader and re-downloaded and verified the factory image before flashing. After doing this I was able to successfully flash the factory image.