Adds extension and mime type to anchor in plates controller.

Sets format type in fluidigm_file. The login check is performed inside the
action to avoid login_required to stop the .csv conversion