Replace hook_file_validate to support D11