config: support trailing backslashes

Check whether the backslash at the end of the line is being escaped or
not so as not to consider it a continuation marker when it's e.g. a
Windows-style path.
Merge pull request #1279 from carlosmn/config-trailing-backslash

config: support trailing backslashes