Update MediaTask.php

Fixed #6 . Kudos to @slawekb for the heads up and patch !