Fix serving of files with extensions.