Updated catch debugging messages in openPort function.
Redirected stderr & stdout of avrdude to output file, added argument bool unixAppendFlag to unixExecAvrdude function.
Modified filesize function.