More TRAMP fixes.

Hello.

There are two more fixes for TRAMP operation. It seems other command would require similar patches, however, until I use them (which might be next hour ;) I can't tell anything.

Best regards,
Ł.S.