add fix for creating sink folder

race condition creating folder that could cause invalid error