fix the file creation on some Linux Distro (tested on Centos 6.5)