Write Array To Text File Powershell Script Not Running