Silence open_basedir error on file_exists

This silences an open_basedir error. Related to #227