Changed function _cleanTextureFilename to _cleanExternalFilename

- Changed name of function and added the choice of external referencing
or texture files. This can then be used by the external reference
function as well as the texture attribute file reader.