Replace only last occurence of {} in sourceMapFilename, not followed by a path separator.