Unref the picure mapped file only after it has been copied.

Fix crash when exporting to Picasa.
Merge branch 'master' of https://github.com/darktable-org/darktable