Escape backslashes when that's the path separator

This should allow the custom backgrounds to work on other platforms
(:eyes: on you Windows).