[powershell] fixes missing UTF-8 BOM
[powershell] fixes long paths breaking upper prompt