Fix test in Path.t to work with Carp 1.25

Carp adds a period to its output as of version 1.25, but that wasn't accepted by the stderr_like regex.