Fix issue with running vim from shell pipeline