Make outtmplfn in RESTFileMetadata optional and give it a default value. Fixes #4574.
Merge pull request #4578 from AndresTanasijczuk/fmd_fix

Make outtmplfn in RESTFileMetadata optional and give it a default value. Fixes #4574.