Added support for single-file destinations.

Closes #2.