Fixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method

Change-Id: Id3781b87023291b9f7b2c7b3d8ae429a4065c227
Merge "Fixed "getCachedWork" callback in thumb.php to avoid 404s in the stream method"