Fix bug in File manager

Under linux, codiad faild to open files that ends with a space .
Replace all spaces with '_' of file name in actions (rename and create)