Don't count empty filename as a found file

Previously, we were getting "a.js\nb.js\n" and turning that into ["a.js", "b.js", ""]; now we don't have the extra empty filename.