Make sure the source_files array only returns regular files, no directories. Fixes GH-4