Handle falsey values in stat and lstat

This is in the event of errors when constructing a file path might be propagated down. In any case, running these functions with the given test cases in Zend also returns false.