LIB001-616 Encode URL to retrieve files in controllers/record.php