NSString writeToFileWIthBlock