Fixed the 'os' modules tmpdir function declaration.
'os' modules tmpdir function name fixed for 0.10.1 definitions.
Merge pull request #3226 from mikaturunen/master

Fixed the 'os' modules tmpdir function declaration.