Revert "Remove the custom variant of the "ota_from_target_files" script."

This reverts commit 85c038a772cbf39f5bd9a9ba631bf25dd0f1ee14.