Does this work? `split('.')[0])` doesn't yield a list, so `join` on it should fail?