head: unwrap IoResult before printing
Merge pull request #196 from ebfe/fix-head

head: unwrap IoResult before printing