I wasn't sure where to put the generated tarballs, so i chose to use openphotos tmp directory. This hould probably be changed