remotefilelog: use list comprehension instead of filter for py3 portability

Authored by durin42.