[BUGFIX] Prevent duplicate '/' in filepath when uploading file