September 27, 2014
https://issues.dlang.org/show_bug.cgi?id=13545

          Issue ID: 13545
           Summary: Functions in std.file should take const(char)[]
                    parameters, not char[] parameters
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody@puremagic.com
          Reporter: bugzilla@digitalmars.com

They shouldn't be modifying their called arguments.

--