Add test case for output file permissions

Refs #14979