Post update: Get the true mime type of a file in Ruby