Fix #47 - Duplicate files create a (2) when multiples are uploaded

This patch fixes core/#47

I'll add an "apply to all" feature later in a separate pull request.

please review @DeepDiver1975 @karlitschek @jancborchardt