handle backslashes, which is out of convention, but safer, as practically paths may contain them in many spots