Merge pull request #2 from Drup/master

More goodies
Fix bug in to_bytes.