Fixed the path for created files.