Ok, I'm a noob, but I was reading this and sometimes things are simpler than they appear to the knowledgable. Of course, I'm not claiming to know anything either, it's just in Superpenguin's post it stated
wrote only 6656 of 10240 bytes
is it possible the partition or directory he is writing to is full?
I'm probably wrong and anyone reading this may lol at me, but who knows.