Fix SharedMemoryIO#read for binary data on Ruby 1.9+
Fix test on 1.9.x by adding magic file encoding comment
Merge pull request #7 from ms-ati/fix-shmio-read-encoding

Fix SharedMemoryIO#read for binary data on Ruby 1.9+