This is incorrect. `.size()` is byte length, which may be greater than `MAX_PATH`.