Fix file upload process for updating ranges

Turns out this has been broken for ages. It was still assuming a
one-to-one relationship between products and stockrecords AND it had
broken translation strings in the flash message.

This commits fixes all the bad.