Save as from Text To Markdown Bug

I created by accident a file as text file instead of kind Markdown. Since there seems to be no way to convert the document to Markdown I created a copy of the file with the desired type Markdown. When I give the file the same name as the existing text file the type/kind is changed to Text.
Expected: the kind should not change to text.

See my other response.