Make tmp directory if it doesn't exist