Have RETIOERR extend the stack if necessary.

This matches the XPUSHi() most of these functions use.

Otherwise there can be obscure segfaults when no arguments are passed in.
See t/io/fs.t `map chmod(+()), ('')x68;`
Add autodie to chmod.