Make get_formatted_date return a unicode string instead of bytes