It looks like we lost these hooks during refactoring ?!
See the hooks triggered by "file_get_contents" and "file_put_contents" here: https://github.com/owncloud/core/blob/v9.0.2/apps/files_sharing/lib/sharedstorage.php#L327
After this commit 6123bad they're gone and don't seem to be triggered from anywhere.
@rullzer @icewind1991
CC @oparoz