Move path modification to convert_to_s3key
Pep8 Refactor
Use os.path.join strictly
Ignore empty lines
Calculate number of add and delete commands using a loop instead of unix commands
Python 2 compat