Add support for unicode filenames

Images still wont get uploaded because of
https://github.com/photo/frontend/issues/1433

But atleast we don’t crash.