Fix full path

Fixes issues with `-G`

Fixes issues with replacing text

TODO: replacing text breaks `--ackmate`. Almost have a solution

/cc @javruben