Cleanup namaing in fileutils

* remove File as its reduntant
* refer to Mode instead of ExecutableBit

Signed-off-by: Ted Young <tyoung@pivotallabs.com>
Stop setting ModeTemporary on files

Signed-off-by: Ted Young <tyoung@pivotallabs.com>
Reorganize code

Signed-off-by: Ted Young <tyoung@pivotallabs.com>
CopyPathToPath preserves file mode

* users must handle mode manually otherwise
* remove SetMode which wrapped os.Chmod
* remove SetModeFromPath as CopyPathToPath handles this

Signed-off-by: Ted Young <tyoung@pivotallabs.com>
Replace fileutils.Read with ioutil.ReadFile

Signed-off-by: Ted Young <tyoung@pivotallabs.com>
Use fileutils from gofileutils

Signed-off-by: Aram Price <aprice@pivotallabs.com>
Merge branch 'tyap/fileutils-cleanup'

Conflicts:
	.gitmodules
	src/fileutils/tmp_utils.go