bug fixes
bug fixes

fixed reported bug that placed data in wrong directories :|

dsolodow/dbatools,wsmelton/dbatools,kozloski/dbatools,sqlpadawan/dbatools,Splaxi/dbatools,SirCaptainMitch/dbatools,alevyinroc/dbatools