Remove checksum parameter
- Removed checksum, it is not implicit if overwrite is chosen.
- Fixed potential bug i program flow.
- Did small refactoring because above and created upload_s3file def,
used in two places.