Make timthumb work better with open_basedir.