issue #5: empty xls file

Donn't write a worksheet to a file, if it is empty or with just a head line.
renamed a test for str2ulong