Handle symlinking of input files when previously exists. Thanks to @brentp