Harden --prompt-file against paths outside the working directory
#289
+114
−8
--prompt-file against paths outside the working directory
#289