Add -[writeToURL:]