Removing trailing slash

Test Plan: Test converting an image to png

Auditors: jack, alpert