don't force . relative path, fix #3897

As per #3897, .\filename is not recognized by pdflatex.
Merge pull request #3901 from ivanov/fix-3897

don't force . relative path, fix #3897