Preserve directory structure

Instead of generating images directly on `outputDirectory`, use the same
directory structure as in `sourceFiles`.

Fixes #8
Merge pull request #15 from esamson/preserve-directory-structure

Preserve directory structure