Handling errors, using /tmp