Extended createFile method to create the file even if the parent folder
does not exists.