Handle either input from file or STDIN or output to a file or STDOUT seamlessly.
A small package that provides an interface to handle either input from file or STDIN or output to a file or STDOUT seamlessly. It also will handle writing to tmp files that are copied to the final location upon successful writing.