Addressed Coverity issue 711923, 'Uninitialized scalar variable'.
Addressed Coverity issue 711922, 'Uninitialized scalar variable'.
Addressed Coverity issue 711904, 'Insecure temporary file'.