por-file-writer: Use xasprintf() to avoid careful buffer sizing.