create directory for file:// uri. use heap instead of stack for path variable
Authored by: ncopa 2007-04-11
Parent: [r297]
Child: [r299]