fix null data handling error

If you download the file with nonexistent result file(query result is nothing), the following error occurs.

events.js:72
        throw er; // Unhandled 'error' event
Merge pull request #15 from wyukawa/feature-null-data-read-handling

fix null data handling error