Trimming file paths from CLI. In powershell, in particular, these paths contain trailing line breaks.