Round the 'bytes' value to avoid an "invalid arguments" error in Firefox. (Chrome appears to work it out on its own just fine.)