Regression when moving to "click" for command line parsing. "lnt profile upgrade" crashes when output points to an inexistent file. Also adds a test case.
So, this change:
- prevents click to check the path beforehand
- adds a test case to check "lnt profile upgrade" output to a new file