Fix call to stdin.lines() that now needs to be lock().lines()
Fix lifetime of the stem by returning String instead of Result

I wasn't doing anything that would cause the error case anyway.