* callproc.c (encode_current_directory): Encode dir at the end.