Thread safe version of the common basename and dirname.
Attach a file by drag & drop or click to upload