Set target name in a safer way
Output just output.txt for the simple case

As the utility doesn't create directory for simple file yet, it is
better to output it to the current directory.
0.5.1