[SP-785] Backport of PDI-10113

Conflicts:
	core/src/org/pentaho/di/core/vfs/KettleVFS.java
	engine/src/org/pentaho/di/trans/steps/textfileoutput/TextFileOutput.java