Updated to use weechat.hook_process() instead of subprocess.Popen(), put scp in quiet mode, error handling for scp return code