Fix sending of files to external apps when their pathname includes charactes requireing URL encoding.