Bug 865690 - Wallpaper fix for 'I/O method is invalid' assertion. r=hskupin