fixed HTTP logic to report accurate print status when printing from SD