Use default output path if output metadata is not given.

This feature is lost in jdan/cleaver@0b8ff3d0fdea804e597d4a36e31b7f9d908290a7
Merge pull request #83 from twada/default-filename

Use default path if output metadata is not given.