Fix com() & putfile()