Fileoutput null payload

Resolves #843.