core: correctly derive preview filenames if parts are binaries.

(cherry picked from commit 94af848391dba48fcf4a865253e32cd2d9f12ade)

Conflicts:
	src/models/m_media.erl
core: more binary/list changes (due to z_string changes)