Fix the public_filename to return a string instead of URI