Added error multiplexing to avoid creating empty files, if the specified
source file contains an error before even doing output (e.g. file not
found)