User File.realpath for assets created by capybara, as relative paths fail on nginx rules