There is probably more than one way to fix it but my thought was just to insert something like the following near the beginning of the fix-disk script.
Alternatively this directory could be created earlier on in the modinit script, before it aborts due to the read-only status of the hard disk.
Code:
if [ ! -d /var/lib/humaxtv/mod ]; then
mkdir /var/lib/humaxtv/mod || exit 1
fi
Alternatively this directory could be created earlier on in the modinit script, before it aborts due to the read-only status of the hard disk.