Site Icon: Update to also generate the metadata properly again

The previous fix broke the wp_generate_attachment_metadata step since
it passed in the wrong file path.