When creating atlas with use_path, strip leading dots and slashes
so that "../folder/filename.png" becomes "folder_filename" instead of ".._folder_filename"