Minor fixes

- Replace sprintf with printf to output correctly
- Set default  'y' for dir link prompt