Be more tolerant of '/' in paths on Windows. refs #2235

Signed-off-by: Daira Hopwood <daira@jacaranda.org>