Fix the assumption that a file's basename is unique
Fix tests.
Add test for generic files with same basename.
Use dashes for files in build directory.

This avoids potential conflicts later if fresh wants
to use other paths in the build directory for its
own purposes.
Merge pull request #42 from neersighted/concaternation

Fix the assumption that files have a unique basename.