Fix don't replace file by uploaded one if file name contains russian characters when file uploaded by File Mode.