Determine backend type from file extension
@param filename: Output filename @return backend_type: Backend identifier string