Fixes file name when removing from S3