use new thumb api to find if file exists, ref #503