Fix for Rails 4 digest filenames only.