Handle open_basedir exceptions