Fix crash in attempting to canonicalize paths longer than _MAX_PATH