Handle being asked to create nonexistent subdirectories better