Modify getWritablePath function.