Fix gif and web files not opening: https://github.com/koreader/koreader/pull/11425#issuecomment-2002164851