Fixed bug where goreplace on file would break when directory was in selection