Create outputDirectory when no category. Fixes #185