Fix base_dir warning.

file_exists will throw a base_dir warning if the session directory isn't
allowed within the basedir, this commit squashes that warning message.