I'm having the same problem, even with just simply entering the /hsave command on its on (not in script) has the same error. It seems to be mixing up the table name and filenames, since it is trying to save to "hsave" no matter what filename you try and it thinks the file you are trying to save to is actually the name of the table.
I don't know if this is a bug in mirc, but it certainly seems like it.