core: use .picture instead of .pic for owner/user pictures

Avoids problem with picture loading in qt4-gui if the picture is in another
format than pic, e.g. jpeg.