Save captured image if entrant couldn't be read

Just for debugging purposes