Fix new file creation

Don't return here, otherwise we will never reach the point to update the mime info for the new file which will keep the file in a undefined state until the next page reload.

cc @karlitschek @DeepDiver1975 

cc @icewind1991 please have a look, the return statement was introduced by one of your commits. I don't see the need for it. Without it everything works as expected and the issue mentioned above is fixed.