Fix zip from adding empty directories on file refs