Mime guessing function from file extensions added to Uploadyoda