Fix replace to not use regexp

Fixes #27