Fixing error in uploads.save_error(), casting value as str