Fixed #34 - Mime type is not correctly guessed when adding items