fixes #132, empty .d.ts files no longer being written