Fix Template generation fails if the target directory is missing

DefaultTemplateFile now checks for folder location before writing template. BUG #50.  Decided to do it in DefaultTemplateFile due to AvailableTemplates.templates_location could be over written with another path, so technically each template file generated could have a different folder location.

### Questions:

Should I bump the version?

### Notes:

Just trying to brush up on my ruby (it has been a long time) so all criticism is welcome.  Thought a good way to brush up would be to help fix some bugs in MDSOL open source projects.

### Tests:

22 scenarios (22 passed)
83 steps (83 passed)
0m7.150s