[JENKINS-9741] Added a test to verify file permission handling.
[JENKINS-9741] Fixed to pass file permissions with octals.
[JENKINS-9741] Failed to set executable bits in a test.
Merge pull request #45 from ikedam/feature/JENKINS-9741_TestsForFilePermissions

[JENKINS-9741] Added a test to verify file permission handling.