FIX: Interpret linesize as absolute value.

Closes #39

I don't think this can be fixed on any deeper level, so this is my patch. The packets that raised an error, as described in #39, now open properly.