support 64 bit fd's. Fixes: #19

A quick fix for #19.