Remove os.path calls

These don't work on AWS with S3.