netfs: debug build and 64bit fixes.