[wav] Fix double format loading.