Fix `*Config.validate` method not to make a directory when the `-o` flag's path does not have a directory.
Merge pull request #28 from yosssi/fix-config-validate

Fix `*Config.validate` method not to make a directory when the `-o` flag's path does not have a directory.