Fix a bug opening files from PBIs with whitespace in the name

Also, fix how we run system commands, don't need to route through
a new shell