Replace %d with %.0f in format patterns

-- ogginfo can return non-integer file lengths, which don't work with
%d.
- Stop using -r option to sed
-- -r is a GNU extension, not portable to all platforms