Add file test in prompt.after before restoring and closing fd #7.
Bump patch version.