NXP-14227: use jsf tmp dir if available to save uploaded files