Add back error conversion to avoid ugly temp file errors