Fix remote tracking and encoding bug; convert tabs