Ruby 1.8 compat: lambda arguments can't have default values

[#156]
Ruby 1.8 / 1.9 compat: mime-types >= 2 depends on Ruby >= 2

(cherry picked from commit 1332688796c379851621716d3265a4141e910550)