possible fix for #14 and #10

Empty files might not be supported by js zip code.