Variables need exporting so that duplicity actually sees them

Also allow the archive directory to be set, and be compatible with puppet 3.4 which doesn't like _ at the start of identifiers.