Item12414: tempfile is not an object method.

Next version of File::Temp will die if called as File::Temp->tempfile()

git-svn-id: http://svn.foswiki.org/branches/Release01x01/core@16579 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
Item12413: defined @array is deprecated, dies on perl 5.16

git-svn-id: http://svn.foswiki.org/branches/Release01x01/core@16580 0b4bb1d4-4e5a-0410-9cc4-b2b747904278