include file extension in shortened url for app media preview support