File handling tweaks
File handling tweaks

Fix vulnerability where a specially crafted path could lead to the user
accessing things in the root file directory

siacs/HttpUploadComponent,SamWhited/HttpUploadComponent,SamWhited/HttpUploadComponent,siacs/HttpUploadComponent