zscanner: fix empty file processing
tests: update .gitignore