use latest version of nan mmmagic
handle upload problems better