Get Folder Path From File Path Python