Update syncPerfGraphs to include line feeds in final log lines.

Also, use context manager to ensure logfile is closed (instead of manually
calling .close() and potentially accidentally leaking a file handler).
Add one more line feed to syncPerfGraph logging.

Ensure that rsync stderr stream is also piped into the logfile.
Merge pull request #920 from thomasvandoren/whitespace-in-sync-perf

Update syncPerfGraphs to include line feeds in final log lines.

Also, use context manager to ensure logfile is closed (instead of manually
calling .close() and potentially accidentally leaking a file handler), and ensure
that stderr from rsync call is included in logfile.
Adding a ref var future where initializing a ref var with a casted
variable results in an internal error during function resolution.
Merge pull request #921 from sungeunchoi/test

Adding a ref var future where initializing a ref var with a casted variable results in an internal error during function resolution.