added option to disable unique directory in output. Fixes #425