Yeah, I'm thinking passing a pointer for `name` and `exts` and removing them from the return values of the `Handle` function would solve this (assuming they are not used within the function until after `in` is read and new values are assigned after `w` written to).