RemoteSync: Python3 support

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>