Well, `.getParentFile` may return `nil`. So I kept the when in there. But yeah, the repl stuff I posted indicates that no exceptions are thrown so we can just call `mkdirs` without requiring the directory doesn't exist.