Issue #2550409 by Dave Reid: Fixed file entities do not support hook_entity_view_mode_prepare_alter().