Return the return value of the callback, if any.

I'd sorta like to be able to return `chdir` directly. This would make its behavior closer to what Ruby's `Dir#chdir` does.