The file.expandMapping method "ext" option is now / aware. Closes gh-625.