Media Browser: unable to replace file through Edit link

steps to reproduce:
1. Attach a file (.csv) to a post
2. Click [Edit] link of the file to open Media Browser

3. Click Replace File button in file edit form

4. select a new file with the same file extension (.csv) to replace
Note: An error comes up
1 person has
this problem