Fixed the 'os' modules tmpdir function declaration.