Allow using '~' in firmware path