Add multiline output to file

We use logstash to collect some logs in a file in some format. And we need to have a certain format logs, for example: "%{message}\n%{status}\n%{level}". But file output not supports this format, and all '\n' becomes '\\n'.