[photobucket] Modernize and remove the old extraction code