Bundle: output custom absolute / relative paths

* Added outputDirectory to sprite.
* Fixes #1152.