make sure tmp dir is created before running otp