Create parent folders if needed (while creating output directory)

When used in conjunction with maven surefire v2.13, it's possible that
the surefire-reports directory doesn't currently exist, when reportng's
reporters get invoked. This situation wasn't being handled currently.

Now, making all necessary parent folders and also checking the return
value of mkdirs() and throwing an exception if needed.