Fix support for .. in a filename