[client] Fix an inappropriate method name

guessContentTypeFromFileName ->
guessContentTypeFromExt