accounts: filter file when setting icon

tower:
https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/3ff11723a8c34e24ac9d0bfc40c339e6/

Change-Id: I6e21fb2b3bb5266d108cca55a790cf6783ebb5ad