Add fstatCheckEnabled method
set -e