Fix metadata removal on upload for files with un-sane characters in them
Fix metadata removal on upload for files with un-sane characters in them

When re-uploading a file with characters that will be later sanitized,
the old metadata entry wasn't removed because it checked the unsane
filename rather than the sanitized version that will later be stored.

This was creating an inconsistent metadata view during analysis for
files with spaces in them.

Javierma/OctoPrint-TFG,SeveQ/OctoPrint,Javierma/OctoPrint-TFG,Salandora/OctoPrint,javivi001/OctoPrint,beeverycreative/BEEweb,SeveQ/OctoPrint,nicanor-romero/OctoPrint,senttech/OctoPrint,chriskoz/OctoPrint,mayoff/OctoPrint,ErikDeBruijn/OctoPrint,Javierma/OctoPrint-TFG,foosel/OctoPrint,Javierma/OctoPrint-TFG,alex1818/OctoPrint,madhuni/AstroBox,MoonshineSG/OctoPrint,spapadim/OctoPrint,chriskoz/OctoPrint,foosel/OctoPrint,shaggythesheep/OctoPrint,skieast/OctoPrint,Catrodigious/OctoPrint-TAM,Mikk36/OctoPrint,madhuni/AstroBox,Voxel8/OctoPrint,Jaesin/OctoPrint,eddieparker/OctoPrint,markwal/OctoPrint,SeveQ/OctoPrint,EZ3-India/EZ-Remote,skieast/OctoPrint,Jaesin/OctoPrint,punkkeks/OctoPrint,jneves/OctoPrint,leductan-nguyen/RaionPi,ryanneufeld/OctoPrint,punkkeks/OctoPrint,ymilord/OctoPrint-MrBeam,MoonshineSG/OctoPrint,uuv/OctoPrint,mrbeam/OctoPrint,CapnBry/OctoPrint,bicephale/OctoPrint,Catrodigious/OctoPrint-TAM,Jaesin/OctoPrint,sstocker46/OctoPrint,EZ3-India/EZ-Remote,nickverschoor/OctoPrint,mayoff/OctoPrint,aerickson/OctoPrint,eliasbakken/OctoPrint,C-o-r-E/OctoPrint,shohei/Octoprint,punkkeks/OctoPrint,AstroPrint/AstroBox,markwal/OctoPrint,masterhou/OctoPrint,bicephale/OctoPrint,sstocker46/OctoPrint,shohei/Octoprint,dansantee/OctoPrint,eliasbakken/OctoPrint,spapadim/OctoPrint,masterhou/OctoPrint,bicephale/OctoPrint,Voxel8/OctoPrint,Skeen/OctoPrint,Salandora/OctoPrint,EZ3-India/EZ-Remote,Voxel8/OctoPrint,Salandora/OctoPrint,javivi001/OctoPrint,ryanneufeld/OctoPrint,nickverschoor/OctoPrint,abinashk-inf/AstroBox,senttech/OctoPrint,CapnBry/OctoPrint,ymilord/OctoPrint-MrBeam,eddieparker/OctoPrint,JackGavin13/octoprint-test-not-finished,dragondgold/OctoPrint,beeverycreative/BEEweb,chriskoz/OctoPrint,mrbeam/OctoPrint,Skeen/OctoPrint,jneves/OctoPrint,MaxOLydian/OctoPrint,eddieparker/OctoPrint,madhuni/AstroBox,MaxOLydian/OctoPrint,ymilord/OctoPrint-MrBeam,ErikDeBruijn/OctoPrint,leductan-nguyen/RaionPi,foosel/OctoPrint,foosel/OctoPrint,ymilord/OctoPrint-MrBeam,leductan-nguyen/RaionPi,mcanes/OctoPrint,mcanes/OctoPrint,nicanor-romero/OctoPrint,d42/octoprint-fork,shohei/Octoprint,nicanor-romero/OctoPrint,alex1818/OctoPrint,MolarAmbiguity/OctoPrint,Catrodigious/OctoPrint-TAM,nickverschoor/OctoPrint,AstroPrint/AstroBox,shohei/Octoprint,spapadim/OctoPrint,nickverschoor/OctoPrint,Mikk36/OctoPrint,DanLipsitt/OctoPrint,bicephale/OctoPrint,JackGavin13/octoprint-test-not-finished,beeverycreative/BEEweb,DanLipsitt/OctoPrint,aerickson/OctoPrint,abinashk-inf/AstroBox,Mikk36/OctoPrint,uuv/OctoPrint,chriskoz/OctoPrint,javivi001/OctoPrint,shohei/Octoprint,mcanes/OctoPrint,markwal/OctoPrint,JackGavin13/octoprint-test-not-finished,senttech/OctoPrint,uuv/OctoPrint,madhuni/AstroBox,rurkowce/octoprint-fork,mayoff/OctoPrint,skieast/OctoPrint,MolarAmbiguity/OctoPrint,dansantee/OctoPrint,beeverycreative/BEEweb,CapnBry/OctoPrint,dansantee/OctoPrint,MoonshineSG/OctoPrint,jneves/OctoPrint,shaggythesheep/OctoPrint,abinashk-inf/AstroBox,EZ3-India/EZ-Remote,MoonshineSG/OctoPrint,C-o-r-E/OctoPrint,Salandora/OctoPrint,senttech/OctoPrint,shaggythesheep/OctoPrint,rurkowce/octoprint-fork,leductan-nguyen/RaionPi,AstroPrint/AstroBox,masterhou/OctoPrint,mrbeam/OctoPrint,aerickson/OctoPrint,Skeen/OctoPrint,CapnBry/OctoPrint,Jaesin/OctoPrint,dragondgold/OctoPrint,ryanneufeld/OctoPrint,sstocker46/OctoPrint,alex1818/OctoPrint,d42/octoprint-fork,dragondgold/OctoPrint,abinashk-inf/AstroBox,ymilord/OctoPrint-MrBeam,ErikDeBruijn/OctoPrint,MaxOLydian/OctoPrint,ryanneufeld/OctoPrint,MolarAmbiguity/OctoPrint,JackGavin13/octoprint-test-not-finished,eliasbakken/OctoPrint,C-o-r-E/OctoPrint