Use non-throwing is_directory in filesystem::create_directory