We have @dylanjbarth 's "ensure_dir" function, so migrated to use that.  Kept the code for _mkdir here, in case there's any issue in the future.