Automatically create the target directory if it doesn't exist.
Added and rephrased the related error messages accordingly.
Merge pull request #812 from boenrobot/transformer-autocreate

Automatically create the target directory if it doesn't exist.