[Fix] Improve performance by operating in-memory
This commit replaces all the Out-File operations, with a list of strings to write at the end of programs (Export) execution.
All previous functionality, like "Encoding", "Appending", "Format", etc. are handled.
Improved execution time on a database of 1000files, from 284.7797556seconds to 58.9908463seconds (Almost 3x improvement)
Have to be honest, I don't have the entire powershell development environment setup (addition of CONTRIBUTING.md would be useful), so I did not run the included tests.
Only tested the script for my workflow & the output is perfect. Including comments, adding things by hand, etc.
Sorry for the delay.
I forgot to push my things, but was still waiting for a review 🤪