Support relative path in command cat
Fix allowing cd to a non-directory file