add .gz before .gpg, use os.path.join
call abspath
rework local part to compress first