Allow empty files to be added as files

By checking data.length, empty files (length === 0) are treated
as directories and added to the zip file incorrectly.
Merge pull request #6 from townxelliot/master

Allow empty files to be added as files