fix($s3): fixes #1093 fail upload if key function promise fails