do not try to write an empty jar file