Fixed problem with link convertion for file protocol