Fixed REST upload
Merge pull request #582 from n-lagomarsini/GEOS-6477

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