When a string output port is connected to a file input port, the value is converted to a full file path.
This fixes #334.