Turn off exceptions, add fake permissions, add fake dir stat, small
fixes