SWORD2: Fix issue with output file name when specifying and output directory

When specifying an output directory, the output file name was not set and
only an extension was set, resulting in a file being named ".cl3" for example.
Also improve the error message when giving a non-music or non-speech
cluster file as input to the tool.