V0.11.13 compat

based off of @thejinx0r branch. it just needed a one-liner for @mafintosh truncate addition. the rest was just a fix for the incorrect use of HandleScope. it works for me, with both 0.10 and 0.11... though, I didn't actually test everything... just a few quick mounts to make sure it was working...

all the best