file format extension detection in backend_common fixed