Update file.go

Corrected file permissions to 0755 set on directory creation.