test and create the directory more safely
Hide this commit, it's pointless