Require 'tmpdir' as we need it in mock backend on Dir.
Fix bug with tmpdir (0.3.1)