using local temp dirs for mar upacking