Creates tmp directory if it doesn't exists yet