fromfilename: support singleton filenames, and fix unicode bugs.

Previously, track ids were assumed to be part of every filename. This
assumption does not hold for singleton tracks.

Moreover, any artists or titles that contain non-ascii characters would
previously cause beets to crash in many places. This commit
converts all artists and title strings to ascii.