Bug fix for windows file paths. "\" causes some regex exceptions.