Expand path in metasm_shell#file.
Land #2937 - Expand path in metasm_shell