MOBILE-566 Upload photo doesn't save extension