Fixed REST upload
Merge pull request #589 from n-lagomarsini/GEOS-6477_2.5

[GEOS-6477] REST Upload via POST on a Mosaic could be more performant