Ought to check for failure, though most likely if this fails then `writeSymlink` will too.