dont need to perform useless cast
Implement fstat/lstat
Fix overflows with writeData
Handle SIGABRT as debugger worthy
Set contract WD to /contract/
Handle special case of . in getFilesystem
Fix overflows in read and getdents
duplicate header--
Handle read() return value properly
catch lstat