Support arbitrary source files

If the file type is not recognized, it just copies it to the SRC_DIR, which is
"work" (this is similar to what happens for git/hg/svn).

Fixes #405.