Ensuring dir doesnot exists before making it