Rename unsafeToInt as unsafeToNat, and make it work correctly.
Merge branch 'io-streams' of github.com:snapframework/snap-core into io-streams