File paths to use decode rather than a string replace

In response to issue #4